package cn.tedu.xuecha.ex;

import cn.tedu.xuecha.respone.AppCode;

/**
 * @author coinyang
 * @date 2023/4/22 14:20
 */
public class ServiceException  extends RuntimeException{
    private AppCode appCode;
    public ServiceException(AppCode appCode,String message){
        super(message);
        this.appCode = appCode;
    }

    public AppCode getAppCode(){
        return appCode;
    }
}
